package me.monster.smarttraffic.ui.bus;

import me.monster.smarttraffic.base.BaseView;
import me.monster.smarttraffic.base.IPresenter;

/**
 * @description
 * @author: Created jiangjiwei in 2020-02-13 15:45
 */
public interface BusContract {
    interface View extends BaseView {
        void showEnv(String pm, String temp, String hum, String co);

        void showDistance(int distance1, int distance2);
    }

    interface Presenter extends IPresenter<View> {
        void fetchDistance(int stationPosition);

        void fetchEnv(int stationPosition);
    }
}
